package com.saohuobang.test.service;

import javax.management.InstanceAlreadyExistsException;
import javax.management.MBeanRegistrationException;
import javax.management.MalformedObjectNameException;
import javax.management.NotCompliantMBeanException;

/**
 * 作者 yaohua.liu
 * 日期 2015-11-25 13:50
 * 包名 com.saohuobang.test.util
 * 说明 ...
 */

public interface JMXConfigService {

    public String startJMXConfig(String port) throws MalformedObjectNameException, NotCompliantMBeanException, InstanceAlreadyExistsException, MBeanRegistrationException;
    public String stopJMXConfig() throws Exception;
}